package com.bootdo.clouddocms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableDiscoveryClient

@EnableFeignClients(basePackages = {"com.bootdo.clouddocommon","com.bootdo.clouddocms"}) //必须加上
@EnableCaching
@EnableScheduling
@SpringBootApplication(scanBasePackages = {"com.bootdo.clouddocms", "com.bootdo.clouddocommon"}) //必须包扫描
public class ClouddoCmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(ClouddoCmsApplication.class, args);
    }

}
